<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <script src="./lib/defer1.js" defer></script>
  <script src="./lib/defer2.js" defer></script>
  <script src="./lib/defer3.js" defer></script>
  <title>异步记载脚本</title>
</head>
<body>
  <script>
    console.log('start')
    document.write('<h1>H1</h1>')
  </script>
  <script>
    for(var i = 0; i < 200000; i++) {
      if(i % 20000 === 0) {
        console.log(i)
      }
    }
  </script>
</body>
</html>